package com.springboot.config.annotion;

/**
 * Created with IntelliJ IDEA.
 * User: lby.
 * Date: 2018/6/10.
 * Version: V1.0.
 */

import java.lang.annotation.*;

/**
 * 权限注解 用于检查权限 规定访问权限
 *
 * @example @Permission({roleID1,roleID2})
 * @example @Permission
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Power {

    String[] value() default {};
}
